<?php

class Bcmsx_Form_Auth extends Zend_Form 
{
	public function init()
	{
		$this->setMethod('post');
		
		$this->addElement('text', 'auth_identity', array(
			'size'		=>	30,
			'required'	=>	true,
			'label'		=>	'AUTH_IDENTITY'
		));
		
		$this->addElement('password', 'auth_credential', array(
			'size'		=>	30,
			'required'	=>	true,
			'label'		=>	'AUTH_CREDENTIAL'
		));
		
		$this->addElement('checkbox', 'auth_remember', array(
			'label'		=>	'AUTH_REMEMBER',
			'value'		=>	'cookie'
		));
		
		$this->addElement('submit', 'auth_submit', array(
			'label'		=>	'AUTH_SUBMIT',
			'ignore'	=>	true
		));
	}
}